import 'package:hive/hive.dart';

@HiveType(typeId: 0)
class BabyInfo extends HiveObject {
  /// 宝宝名字
  @HiveField(0)
  String babyName;

  /// 宝宝性别
  @HiveField(1)
  String babySex;

  /// 寶寶出生日期
  @HiveField(2)
  DateTime babyBrit;

  /// 寶寶身高
  @HiveField(3)
  num babyStature;

  /// 寶寶體重
  @HiveField(4)
  num babyWeight;

  /// 修改日期
  @HiveField(5)
  DateTime upDateTimeAt;

  BabyInfo({
      this.babyName,
      this.babySex,
      this.babyBrit,
      this.babyStature,
      this.babyWeight,
      this.upDateTimeAt});
}

